package com.lb.design.pattern.prototype.deep;

import java.io.Serializable;

/**
 * @author lb
 * @Title: JinGuBang
 * @Description: TODO
 * @date 2019/03/13  15:13
 */
public class JinGuBang implements Serializable {
    public float h = 100;
    public float d = 10;
    public void big(){
        this.d *= 2;
        this.h *= 2;
    }
    public void small(){
        this.d /= 4;
        this.h /= 4;
    }
}
